Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Fix error when running on host-arm #157

Merged
merged 1 commit into from
Nov 4, 2024
Merged

CI: Fix error when running on host-arm #157

merged 1 commit into from
Nov 4, 2024

Conversation

jserv
Copy link
Collaborator

@jserv jserv commented Nov 4, 2024

When pulling a base image from Docker Hub, the architecture defaults to that of the native host, which is typically x86_64 or amd64 on GitHub runners. Since the run-on-arch-action GitHub Action aims to run shecc on an Armv7 Ubuntu image, it attempts to pull the native host manifest (either x86_64 or amd64), resulting in a 'no match for platform in manifest' error unless the --platform option is specified. Therefore, specifying the --platform option as linux/armv7 resolves this issue.

When pulling a base image from Docker Hub, the architecture defaults to
that of the native host, which is typically x86_64 or amd64 on GitHub
runners. Since the run-on-arch-action GitHub Action aims to run shecc on
an Armv7 Ubuntu image, it attempts to pull the native host manifest
(either x86_64 or amd64), resulting in a 'no match for platform in
manifest' error unless the --platform option is specified. Therefore,
specifying the --platform option as linux/armv7 resolves this issue.
@jserv jserv merged commit 16484f2 into master Nov 4, 2024
8 checks passed
@jserv jserv deleted the ci-fixup branch November 4, 2024 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant